<template>
  <div class="pub-header">
    <van-nav-bar
        :title="title"
        left-text="返回"
        left-arrow
        @click-left="onClickLeft"
    />
  </div>
</template>

<script setup lang="ts">
defineProps<{
  title:string
}>()
const onClickLeft=()=>{
    history.back()
}
</script>

<style scoped lang="less">

</style>